<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <h1>hello,node.js</h1>
</body>
<script>
    var xhr = new XMLHttpRequest();
    xhr.open('POST', "http://127.0.0.1:3000/post");
    xhr.send();
</script>

</html>